Download
FAQ
History
HomeHomeNext API
Search
Feedback
Divider

J2EE Examples Using the JMS API

Kim Haase

This chapter provides examples that show how to use the JMS API within a J2EE application in the following ways:

The examples are in the following directory:

 <INSTALL>/j2eetutorial14/examples/jms/ 

To build and run the examples, you will do the following:

  1. Use the asant tool to create resources and compile the example
  2. Use the J2EE Deploytool (deploytool) to package and deploy the example
  3. Use the appclient command to run the client

Each example has a build.xml file that refers to a targets.xml file and a build.properties file in the following directory:

<INSTALL>/j2eetutorial14/examples/jms/common/ 

The following directory contains built versions of each application:

<INSTALL>/j2eetutorial14/examples/jms/provided-ears 

If you run into difficulty at any time, you can open the appropriate EAR file in the deploytool and compare that file to your own version.

Divider
Download
FAQ
History
HomeHomeNext API
Search
Feedback
Divider

All of the material in The J2EE 1.4 Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.